package com.yang.design.create.factory.method;

/**
 * 具体工厂
 */
public class FactoryB implements AbstractFactory {
    @Override
    public AbstractGoods getInstance() {
        return new GoodsB();
    }
}
